import React from 'react'

class DemoSettingTools extends React.Component {

  constructor(props) {
    super(props)
  }

  render() {
    return (
      <div className="demo-setting-tools row">
        <div className="col-sm-4">
          <div className="input-group">
            <input type="text" className="form-control" placeholder="Search for..." />
            <span className="input-group-btn">
              <button className="btn btn-default" type="button">Go!</button>
            </span>
          </div>
        </div>
        <div className="col-sm-4 create-button">
          <button type="button" className="btn btn-success"
                  onClick={(event)=>this.props.onCreateClick()}>新建</button>
        </div>

      </div>
    )
  }

}

export default DemoSettingTools
